package com.esri.core.internal.tasks.e.b;

import com.esri.core.ogc.wmts.WMTSServiceMode;
import java.util.Map;

/* loaded from: classes.dex */
public class c extends f {
    private static final long serialVersionUID = 1;
    private String a;
    private WMTSServiceMode e;

    @Override // com.esri.core.internal.tasks.f
    public boolean validate() {
        return true;
    }

    public c() {
        super("GetCapabilities");
        this.e = WMTSServiceMode.REST;
    }

    public void a(String str) {
        this.a = str;
    }

    public String a() {
        return this.a;
    }

    public WMTSServiceMode b() {
        return this.e;
    }

    public void a(WMTSServiceMode wMTSServiceMode) {
        this.e = wMTSServiceMode;
    }

    @Override // com.esri.core.internal.tasks.e.b.f, com.esri.core.internal.tasks.f
    public Map<String, String> generateRequestParams() {
        Map<String, String> generateRequestParams = super.generateRequestParams();
        String str = this.a;
        if (str != null && str.length() > 0) {
            generateRequestParams.put("UpdateSequence", this.a);
        }
        return generateRequestParams;
    }
}
